package com.hougong.lineclient.notice;

import com.hougong.lineclient.BaseBodyCodec;
import com.hougong.lineclient.annotation.ProtocolField;;

/**
 * 对方申请添加你 0x0005  0x03
 */
public class ApplyAddFriendNotice extends BaseBodyCodec<ApplyAddFriendNotice> {
    @ProtocolField(sort = 1)
    private short userNameLen;
    @ProtocolField(sort = 2,lenField = "userNameLen")
    private String userName;
    @ProtocolField(sort = 3)
    private long timestamp;
    /**
     * 0x00未读 0x01已读
     */
    @ProtocolField(sort = 4)
    private byte ifRead;
    /**
     * 申请添加好友表id
     */
    @ProtocolField(sort = 5)
    private long applyAddFriendId;

    public short getUserNameLen() {
        return userNameLen;
    }

    public void setUserNameLen(short userNameLen) {
        this.userNameLen = userNameLen;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public byte getIfRead() {
        return ifRead;
    }

    public void setIfRead(byte ifRead) {
        this.ifRead = ifRead;
    }

    public long getApplyAddFriendId() {
        return applyAddFriendId;
    }

    public void setApplyAddFriendId(long applyAddFriendId) {
        this.applyAddFriendId = applyAddFriendId;
    }
}
